const path = require('path');

const projectDir = process.cwd();
const distDir = path.resolve(projectDir, 'dist');
const dllDir = path.resolve(projectDir, 'dll');
const srcDir = path.resolve(projectDir, 'src');
const componentsDir = path.resolve(srcDir, 'components');
const containersDir = path.resolve(srcDir, 'containers');
const constantsDir = path.resolve(srcDir, 'constants');
const reducersDir = path.resolve(srcDir, 'reducers');
const actionsDir = path.resolve(srcDir, 'actions');
const utilsDir = path.resolve(srcDir, 'utils');
const entryPath = path.resolve(srcDir, 'index.js');
const templatePath = path.resolve(srcDir, 'index.html');

const publicPath = '';

const alias = {
  components: componentsDir,
  containers: containersDir,
  constants: constantsDir,
  reducers: reducersDir,
  actions: actionsDir,
  utils: utilsDir,
};

module.exports = {
  distDir,
  dllDir,
  srcDir,
  entryPath,
  templatePath,
  alias,
  publicPath,
};
